package com.eastfair.venuebooking.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.eastfair.boot.request.PageParams;
import com.eastfair.boot.service.SuperService;
import com.eastfair.venuebooking.dto.TemplateManagePageQuery;
import com.eastfair.venuebooking.dto.TemplateManageSaveDTO;
import com.eastfair.venuebooking.dto.TemplateManageUpdateDTO;
import com.eastfair.venuebooking.entity.TemplateManage;
import com.eastfair.venuebooking.vo.TemplateManageVO;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 业务接口
 * 模板管理
 * </p>
 *
 * @author lyw
 * @date 2022-07-05
 */
public interface TemplateManageService extends SuperService<TemplateManage> {


    IPage<TemplateManageVO> getTemplateList(PageParams<TemplateManagePageQuery> params);


    Boolean saveTemplateInfo(TemplateManageSaveDTO templateManageSaveDTO) throws Exception;

    Boolean delTemplateById(Long id);


}
